package LavEtRegneark;

public class TextCell extends Cell {
	private String value;
	
	public TextCell(String value){
		this.value = value;
	}

	@Override
	public double getNumberValue() {
	    String msg = "getNumberValue should not be called on a TextCell";
        throw new IllegalStateException(msg);
	}	
	
	public String toString(){
		return value;
	}

}
